class addrBookEntry(object):
	def __init__(self,nm,ph):
		self.name=nm
		self.phone=ph
		print 'create instance for:%s,phone:%s' % (self.name,self.phone)
	def updatePhone(self,newph):
		self.phone=newph
		print 'udpate phone # for:%s,phone:%s' % (self.name,self.phone)
#book=addrBookEntry('archko','3134354')
#book.updatePhone('134134')

class emplAddrBookEntry(addrBookEntry):
	def __init__(self,nm,ph, id, em):
		addrBookEntry.__init__(self,nm,ph)
		self.id=id
		self.email=em
	def updateEmail(self, newem):
		self.email = newem
		print 'Updated e-mail address for:', self.email
emp=emplAddrBookEntry('wrfwsh','31434',3,'archko@3da.com')
emp.updateEmail('archko@ga.com')
		
		

